﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Pro_VendorChange.aspx.cs" Inherits="ArtLand.OA.Project.Project.Pro_VendorChange" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../js/jquery-1.4.1.min.js"></script>
    <style>
        .x-form-item {
         padding:5px;
        
        }
        .mright
        {
            margin-right: 5px;
        }
        .datecontainer .x-form-field-trigger-wrap
        {
            margin-right: 5px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
        <ext:Panel ID="Panel1" BodyPadding="10px" runat="server" EnableBackgroundColor="false"
            EnableCollapse="True" Title="面板" Width="600px" ShowHeader="false" ShowBorder="false" AutoScroll="true">
            <Toolbars>
                <ext:Toolbar Position="Footer">
                    <Items>
                        <ext:Button Text="保存" Icon="DatabaseSave" ValidateForms="SimpleForm2" ID="btnSave" runat="server" OnClick="btnSave_Click"></ext:Button>
                        <ext:Button Text="关闭" Icon="SystemClose" ID="btnClose" runat="server"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:SimpleForm ID="SimpleForm2" EnableBackgroundColor="false" ShowBorder="false" ShowHeader="false" Width="470px" BodyPadding="5px" Title="表单" runat="server">
                    <Items>
                        <ext:Panel ID="Panel2" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label2" runat="server" Width="75px" Text="名称描述：" CssClass="inline"></ext:Label>
                                <ext:TextBox ID="txt_DEPTON" Required="true" Label="名称描述" runat="server" Width="145px" CssClass="mright" />
                                <ext:Label ID="Label3" runat="server" Text="供应商类型：" Width="75px"></ext:Label>
                                <ext:DropDownList runat="server" ID="Drp_VDTYPE" Label="供应商类型" Width="145px"></ext:DropDownList>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel8" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label6" runat="server" Width="75px" Text="供应商简称：" CssClass="inline"></ext:Label>
                                <ext:TextBox ID="txt_EasyName" Required="true" MaxLength="4" MaxLengthMessage="字符不能超过4个汉字" Label="供应商简称" runat="server" Width="145px" CssClass="mright" />
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel3" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label9" runat="server" Width="75px" Text="开户行：" CssClass="inline"></ext:Label>
                                <ext:TextBox ID="txt_BAKNAM" Required="true" Label="开户行" runat="server" Width="145px" CssClass="mright" />
                                <ext:Label ID="Label10" runat="server" Text="开户行账号：" Width="75px"></ext:Label>
                                <ext:TextBox ID="txt_BAKNUB" Required="true" Label="开户行账号" runat="server" Width="145px" />
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel6" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label4" runat="server" Width="75px" Text="税务登记号：" CssClass="inline"></ext:Label>
                                <ext:TextBox ID="txt_TAXNUB" Required="true" Label="税务登记号" runat="server" Width="145px"  CssClass="mright"/>
                                <ext:Label ID="Label8" runat="server" Text="联系人：" Width="75px"></ext:Label>
                                <ext:TextBox ID="txt_CONTAT" Required="true" Label="联系人" runat="server" Width="145px" />
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel7" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label11" runat="server" Width="75px" Text="联系电话：" CssClass="inline"></ext:Label>
                                <ext:TextBox ID="txt_TELPHO" Required="true" Label="联系电话" runat="server" Width="145px"  CssClass="mright"/>
                                <ext:Label ID="Label14" runat="server" Text="邮箱：" Width="75px"></ext:Label>
                                <ext:TextBox ID="txt_UEMAIL" Label="邮箱" runat="server" Width="145px" />
                            </Items>
                        </ext:Panel>
                         <ext:Panel ID="Panel5" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label5" runat="server" Width="75px" Text="其他联系方式：" CssClass="inline"></ext:Label>
                                <ext:TextBox ID="txt_ElseTel" Label="其他联系方式" runat="server" Width="364px" />
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel4" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label1" runat="server" Width="75px" Text="地址：" CssClass="inline"></ext:Label>
                                <ext:TextBox ID="txt_ADDRES" Required="true" Label="地址" runat="server" Width="364px" />
                            </Items>
                        </ext:Panel>
                        <ext:Grid runat="server" ID="Grid1" Height="170px" OnRowDataBound="Grid1_RowDataBound" Title="供应商资料附件" OnRowCommand="Grid1_RowCommand" AutoScroll="true" ShowHeader="true" EnableRowNumber="true" >
                                    <Toolbars>
                                        <ext:Toolbar ID="Toolbar1" CssClass="mytoolbar" runat="server">
                                            <Items>
                                                <ext:FileUpload runat="server" ID="filePhoto" ButtonText="上传附件" ButtonOnly="true"
                                                    AutoPostBack="true" ButtonIcon="DiskUpload" OnFileSelected="filePhoto_FileSelected" Width="77px" Height="20px">
                                                </ext:FileUpload>
                                            </Items>
                                        </ext:Toolbar>
                                    </Toolbars>
                                    <Columns>
                                        <ext:BoundField DataField="FileName" Width="300px" HeaderText="文件名" />
                                        <ext:BoundField DataField="FileName" Width="250px" HeaderText="文件名" Hidden="true" />
                                        <ext:LinkButtonField ConfirmText="你确定要这么做么？" ConfirmTarget="Top" Icon="Decline" ColumnID="ID"
                                            Width="50px" CommandName="Del" TextAlign="Center" HeaderText="删除" />
                                    </Columns>
                                </ext:Grid>
                    </Items>
                </ext:SimpleForm>

                <%--<ext:GroupPanel ID="GroupPanel2" EnableBackgroundColor="true" AutoHeight="true" Title="查看权限"
                    runat="server">
                    <Items>
                    </Items>
                </ext:GroupPanel>--%>
            </Items>
        </ext:Panel>
        <ext:HiddenField runat="server" ID="hid_VEDNUB"></ext:HiddenField>
         <ext:HiddenField ID="hf" runat="server"></ext:HiddenField>
    </form>

</body>
</html>
